/**
 * Created by sicongdu on 17-11-3.
 */
var express = require("express");
var team = express.Router();

var release = require('./release').release;
// var signup = require('./signup').signup;
var query_message = require('./message').query_message;
var my = require('./my').my;
var edit = require("./edit").edit

// team.post("/signup", function(req, res, next){
//     signup(req,res);
// });

team.post("/message", function (req, res, next) {
  query_message(req, res);
});

team.post("/release", function (req, res, next) {
  release(req, res);
});

team.post("/my", function (req, res, next) {
  my(req, res);
});

team.post("/edit", function (req, res, next) {
  edit(req, res);
});

module.exports = team;
